﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="ABMUsuario.aspx.cs" Inherits="Intranet_ABMUsuario" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:MultiView ID="mvMain" runat="server" ActiveViewIndex="0">
        <asp:View ID="View1" runat="server">
            <asp:LinkButton ID="cmdNuevo" runat="server" onclick="cmdNuevo_Click">Nuevo</asp:LinkButton>
            <br />
            <asp:GridView ID="grd" runat="server" OnRowCommand="grd_RowCommand">
                <Columns>
                    <asp:ButtonField CommandName="editar" Text="Editar" />
                </Columns>
            </asp:GridView>
        </asp:View>
        <asp:View ID="View2" runat="server">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="2">
                        Editando datos de Usuario
                    </td>
                </tr>
                <tr>
                    <td>
                        Nombre:
                    </td>
                    <td>
                        <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        Username:
                    </td>
                    <td>
                        <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>controlar q no exista
                    </td>
                </tr>
                <tr>
                    <td>
                        Password:
                    </td>
                    <td>
                        <asp:TextBox ID="txtPass" runat="server"></asp:TextBox>&nbsp;</td>
                </tr>

                 <tr>
                    <td>
                        Mail:
                    </td>
                    <td>
                        <asp:TextBox ID="txtMail" runat="server"></asp:TextBox>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Celular:
                    </td>
                    <td>
                        <asp:TextBox ID="txtCelular" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        Empresa:
                    </td>
                    <td>
                         
                        <asp:DropDownList ID="cmbEmpresa" runat="server">
                        </asp:DropDownList>
                         
                    </td>
                </tr>
                <tr>
                    <td>
                        Perfil:
                    </td>
                    <td>
                        
                        <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" 
                            GroupName="perfil" Text="Empresa" />
                        <asp:RadioButton ID="RadioButton2" runat="server" GroupName="perfil" 
                            Text="Administrador" />
                        
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        
                        <asp:CheckBox ID="chkActivo" runat="server"  Text="Activo" />
                        
                    </td>
                </tr>
                <tr>
                    <td>
                        Permisos:
                    </td>
                    <td>
                       
                        <asp:CheckBoxList ID="chkPermisos" runat="server">
                        </asp:CheckBoxList>
                       
                    </td>
                </tr>

                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:LinkButton ID="cmdAceptar" runat="server" onclick="cmdAceptar_Click">Aceptar</asp:LinkButton>
                        &nbsp;
                        <asp:LinkButton ID="cmdCancelar" runat="server" onclick="cmdCancelar_Click">Cancelar</asp:LinkButton>
                    </td>
                </tr>
            </table>
        </asp:View>
    </asp:MultiView>
</asp:Content>

